-- GENERATED SPELL FOR [Clefthoof] --


function spell0_18205(pUnit, Event) --@Hoof Stomp,Self--
pUnit:FullCastSpellOnTarget(32023,pUnit)
pUnit:RegisterEvent('Sorts_18205', 3000, 1)
end

function Sorts_18205(pUnit, Event)
local choix_sorts_18205 = math.random(0, 0)
if choix_sorts_18205 == 0 then
pUnit:RegisterEvent('spell0_18205', 1, 1)
end
end

function mob18205_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18205', math.random(1500, 3000), 1)
end

function mob18205_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18205_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18205_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18205, 1, 'mob18205_Action')
RegisterUnitEvent(18205, 2, 'mob18205_Leave')
RegisterUnitEvent(18205, 3, 'mob18205_Kill')
RegisterUnitEvent(18205, 4, 'mob18205_Die')
